﻿/*
    CMS分页按钮
*/

CKEDITOR.plugins.add('cmspager',
{
    init: function (editor) {
        var pluginName = "cmspager";
        CKEDITOR.dialog.add(pluginName, this.path + 'dialogs/cmspagerDialog.js');
        editor.addCommand(pluginName, new CKEDITOR.dialogCommand(pluginName));
        editor.ui.addButton(pluginName,
			{
			    label: "CMS自定义分页标签",
			    command: pluginName,
			    icon: this.path + 'dialogs/cmspager.gif'
			});
        //CKEDITOR.dialog.add('about', this.path + 'dialogs/about.js');
    }
});